package com.xunwulian.cmeb.command;

import com.xunwulian.base.constant.GprsOnlineStatus;
import com.xunwulian.base.constant.RatType;

import java.io.Serializable;

public class GprsInfoEntity implements Serializable {

    private static final long serialVersionUID = 7854771779571104620L;
    private String gprsstatus;
    private String ip;
    private String apn;
    private String rat;


    public static GprsInfoEntity getDefault() {
        GprsInfoEntity entity = new GprsInfoEntity();
        entity.setGprsstatus(GprsOnlineStatus.UNKNOWN.getType());
        entity.setRat(RatType.UNKNOWN.getType());
        entity.setApn("未知");
        entity.setIp("未知");
        return entity;
    }

    public GprsInfoEntity() {
    }

    public String getGprsstatus() {
        return gprsstatus;
    }

    public void setGprsstatus(String gprsstatus) {
        this.gprsstatus = gprsstatus;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getApn() {
        return apn;
    }

    public void setApn(String apn) {
        this.apn = apn;
    }

    public String getRat() {
        return rat;
    }

    public void setRat(String rat) {
        this.rat = rat;
    }

}
